package org.idea.qiyu.framework.threadpool.dynamic.config;

import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @Author linhao
 * @Date created in 10:21 上午 2021/10/26
 */
@ConfigurationProperties(prefix = "qiyu.dynamic.threadpools")
public class QiyuDynamicThreadPoolProperties {

    /**
     * 线程池的配置参数
     */
    private IExecutors[] executors;

    public IExecutors[] getExecutors() {
        return executors;
    }

    public void setExecutors(IExecutors[] executors) {
        this.executors = executors;
    }
}
